package day15;

class Outer{
	
	private int prop1= 10;
	static int prop2 =90;
	
	//静态内部类
	static class Inner{
		private static int prop3=20;
		
		public void info() {
//			System.out.println("外部类属性"+ prop1);
			System.out.println("外部类静态属性"+ prop2);
		}
	}
	
	public void test() {
	   System.out.println( Inner.prop3);
	   System.out.println( new Inner().prop3 );
	   new Inner().info() ;
	}
	
}

public class Test2 {
	
	public static void main(String[] args) {
		Outer obj =new Outer();
		obj.test();
	}

}
